#!/bin/bash

echo "Rolling back application..."

# Stop the application
pkill main

# Rollback migrations
./scripts/migration/rollback.sh

echo "Application rolled back."